package com.shoy.myapp.app;

/**
 * 全局静态变量
 *
 * @author shay
 * @created 2015/4/2
 */
public class Constants {
    //基础变量
    public static final String APP_NAME = "MyApp";
    public static final String TAG = APP_NAME;
    public static final String KEY_UUID = "key_uuid";
    public static final String CONFIG_FILE = "config";

    public static final String ACTIVITY_DTO_KEY = "ACTIVITY_DTO_KEY";

    public static final String HTTP_GET = "get";
    public static final String HTTP_POST = "post";

    //API接口设置
    public static final String REST_SERVER = "http://open.deyi.com/router";//测试服务器接口
    public static final String TICKS_SERVER = "http://open.deyi.com/ticks";
    public static final String PARTNER = "android_ebook";
    public static final String PARTNER_KEY = "dy123456";
    public static final int MANIFEST_TYPE = 30;

    //API返回参数
    public static final String RESULT_STATUS = "status";
    public static final String RESULT_CODE = "code";
    public static final String RESULT_DESC = "desc";
    public static final String RESULT_MSG = "msg";
    public static final String RESULT_DATA = "data";

    //API接口方法
    public static final String API_METHOD = "method";

    public static final String METHOD_MANIFEST = "system.manifest";
    public static final String METHOD_LOGIN = "user.login";

    //API接口参数
    public static final String PARAM_TYPE = "type";
    public static final String PARAM_ACCOUNT = "email";
    public static final String PARAM_PASSWORD = "password";
}
